{{- $inner := .Inner | .Page.RenderString -}}
{{- $type := cond .IsNamedParams (.Get "type") (.Get 0) | default "note" -}}
{{- $title := cond .IsNamedParams (.Get "title") (.Get 1) | default (T $type) -}}
{{- $open := cond .IsNamedParams (.Get "open") (.Get 2) -}}
{{- partial "plugin/admonitionPre.html" (dict "Type" $type "Title" $title "Open" $open) -}}
{{- $inner -}}
{{- partial "plugin/admonitionPost.html" -}}